package com.gongguizhijia.pojo;

import com.alibaba.excel.annotation.ExcelProperty;

import java.io.Serializable;

/**
 * @author Chenglei
 * @date 2021/5/31 14:54
 * 数据流工作表
 */
public class DataStreamModel implements Serializable {

    @ExcelProperty("kvId")
    private String kvId;
    @ExcelProperty("描述")
    private String desc;
    @ExcelProperty("命令")
    private String order;
    @ExcelProperty("解析方式")
    private String decode;
    @ExcelProperty("解析公式")
    private String analyticFormula;
    @ExcelProperty("单位")
    private String unit;
    @ExcelProperty("是否展示")
    private String isShow;
    @ExcelProperty("备注")
    private String remark;

    @ExcelProperty("小数位数")
    private String digit;


    public DataStreamModel(String kvId, String desc, String order, String decode, String analyticFormula, String unit, String isShow, String remark, String digit) {
        this.kvId = kvId;
        this.desc = desc;
        this.order = order;
        this.decode = decode;
        this.analyticFormula = analyticFormula;
        this.unit = unit;
        this.isShow = isShow;
        this.remark = remark;
        this.digit = digit;
    }

    public DataStreamModel() {
    }

    public String getKvId() {
        return kvId;
    }

    public void setKvId(String kvId) {
        this.kvId = kvId;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getDecode() {
        return decode;
    }

    public void setDecode(String decode) {
        this.decode = decode;
    }

    public String getAnalyticFormula() {
        return analyticFormula;
    }

    public void setAnalyticFormula(String analyticFormula) {
        this.analyticFormula = analyticFormula;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getIsShow() {
        return isShow;
    }

    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDigit() {
        return digit;
    }

    public void setDigit(String digit) {
        this.digit = digit;
    }

    @Override
    public String toString() {
        return "DataStreamModel{" +
                "kvId='" + kvId + '\'' +
                ", desc='" + desc + '\'' +
                ", order='" + order + '\'' +
                ", decode='" + decode + '\'' +
                ", analyticFormula='" + analyticFormula + '\'' +
                ", unit='" + unit + '\'' +
                ", isShow='" + isShow + '\'' +
                ", remark='" + remark + '\'' +
                ", digit='" + digit + '\'' +
                '}';
    }
}
